package com.tdam.g12.soporte;

import java.io.Serializable;

public class Email implements Serializable
{
	public static final int EMAIL_TRABAJO = 0;
	public static final int EMAIL_PRIVADO = 1;
	public static final int EMAIL_MOVIL = 2;
	public static final int EMAIL_OTRO = 3; 
	
	private String email;
	private int tipoEmail;  

	public Email (String email, String tipoEmail)
	{
		this.email = email;
		this.tipoEmail = Integer.parseInt(tipoEmail);
	}
	
	public String getEmail()
	{
		return email;
	}
	
	public void setEmail(String email)
	{
		this.email = email;
	}
	
	public int getTipoEmail()
	{
		return tipoEmail;
	}
	
	public void setTipoEmail(int tipoEmail)
	{
		this.tipoEmail = tipoEmail;
	}	
}
